package com.huike.clues.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.huike.common.annotation.Excel;
import com.huike.common.core.domain.BaseEntity;
import lombok.Data;

import java.util.Date;


@Data
public class Course extends BaseEntity {
    @Excel(name = "主键ID")
    private Long id;

    @Excel(name = "班级编号")
    private String code;

    @Excel(name = "学科名称")
    private Integer subject;

    @Excel(name = "课程名称")
    private String name;

    @Excel(name = "价格")
    private double price;

    @Excel(name = "适应人群")
    private Integer applicablePerson;

    @Excel(name = "班级介绍")
    private String info;


    @Excel(name = "状态")
    private Integer status = 1;

    @Excel(name = "创建人")
    private String createBy;


    @Excel(name = "修改人")
    private String updateBy;



    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date beginCreateTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endCreateTime;
}
